package cn.edu.xmu.orderpayment.payment.microservice.returnobj;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author Yujie Lin
 * @date 2021/12/12 19:55
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class WeChatReturnObject<T> implements Serializable {

    private String errmsg = null;

    private T data = null;

    public WeChatReturnObject(T data){
        this.data=data;
    }

}
